package com.punch.user.mapper;

import com.punch.common.vo.user.user.UserPageVO;
import com.punch.db.mapper.SuperMapper;
import com.punch.user.model.SysUser;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 用户表 Mapper 接口
 *
 * @author zlt
 * @data 2018-10-29
 */
@Mapper
public interface SysUserMapper extends SuperMapper<SysUser> {

    int queryCount(Map<String, Object> params);

    List<UserPageVO> queryList(Map<String, Object> params);
    /**
     * 查找学校需要关联 教育局
     *
     * @param params 参数信息
     * @return UserPageVO
     */
    List<UserPageVO> querySchoolList(Map<String, Object> params);

    Integer querySchoolCount(Map<String, Object> params);
}
